Skip to content

ctest: Update docs for the type rename methods#5000

Merged
JohnTitor merged 1 commit intorust-lang:mainfrom
cbarrick:ctest-docs
Mar 8, 2026
Merged

ctest: Update docs for the type rename methods#5000
JohnTitor merged 1 commit intorust-lang:mainfrom
cbarrick:ctest-docs

Conversation

@cbarrick
Copy link
Contributor

@cbarrick cbarrick commented Mar 2, 2026

This PR updates the ctest docs to clarify that the rename_struct_ty and rename_union_ty methods can be used to elide the struct and union keywords respectively in the generated C test code.

Context: #4996

@rustbot rustbot added ctest Issues relating to the ctest crate S-waiting-on-review labels Mar 2, 2026
@rustbot

This comment has been minimized.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgross35 tgross35 added this pull request to the merge queue Mar 4, 2026
@tgross35 tgross35 added the stable-unneeded This PR is applied to main but already exists on libc-0.2 label Mar 4, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 4, 2026
@tgross35 tgross35 added this pull request to the merge queue Mar 4, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 4, 2026
@JohnTitor JohnTitor added this pull request to the merge queue Mar 8, 2026
Merged via the queue into rust-lang:main with commit 8430426 Mar 8, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ctest Issues relating to the ctest crate stable-unneeded This PR is applied to main but already exists on libc-0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants